package com.zxy.controlcenter.core.message.response;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 成功响应类
 *
 * @author zxy
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SuccessResponseData extends ResponseData {
    public SuccessResponseData() {
        super(true, DEFAULT_SUCCESS_CODE, "请求成功", null);
    }

    public SuccessResponseData(Object object) {
        super(true, DEFAULT_SUCCESS_CODE, "请求成功", object);
    }

    public SuccessResponseData(Integer code, String message, Object object) {
        super(true, code, message, object);
    }
}
